package model

import "gorm.io/gorm"

const RpcServerInfoTableName = "rpc_server"

type RpcServerInfo struct {
	gorm.Model
	ModelName   string `gorm:"type:varchar(128);not null"`
	ServiceAddr string `gorm:"type:varchar(255);not null"`
}

func (RpcServerInfo) TableName() string {
	return RpcServerInfoTableName
}
